Waypoint* waypointp;
char obuff[256];
char buff1[64], buff2[64];
- char* pbuff, *owpt;
+ char* pbuff;
QString icon_token;
int i, numlines, thisline;
break;
case KEY_AREA :
aktArea = atoi(pstr);
- if (aktTyp==5 || aktTyp==5 || aktTyp==7) {
+ // 2014-02-11. This code originally tested five twice.
+ // I changed it to test 5, 6, and 7 as that was "obviously"
+ // the author's intent.
+ if (aktTyp == 5 || aktTyp == 6 || aktTyp == 7) {
isSection = SECTION_PUNKTE; // Rechteck, Kreis, Dreieck
}
break;
case 28: /* X9 TrackLog (Suunto Trek Manager */
break;
+ // 2014-02-11: Added breaks after 78 and 79 as the author "obviously"
+ // meant to treat those as handled.
case 78:
prod = "S6 SkiChrono";
+ break;
case 79:
prod = "S6 Skilog";
+ break;
default:
if (prod == NULL) {